package com.ccsoft.annoreflect.entity;

import com.ccsoft.annoreflect.OrderPolicy;
import com.ccsoft.annoreflect.anno.Table;
import com.ccsoft.annoreflect.anno.TableField;

import java.io.Serializable;

/**
 * @author chanchaw
 * @create 2022-09-22 8:47
 */
@Table(tableName = "billtype",orderBy = "id",orderPolicy = OrderPolicy.ASC)
public class Billtype implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(fieldName = "id",isPK = true,dataType = "INTEGER")
    private Integer id;
    @TableField(fieldName = "sId")
    private String sId;
    @TableField(fieldName = "accessMode")
    private Integer accessMode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSId() {
        return sId;
    }

    public void setSId(String sId) {
        this.sId = sId;
    }

    public Integer getAccessMode() {
        return accessMode;
    }

    public void setAccessMode(Integer accessMode) {
        this.accessMode = accessMode;
    }

    @Override
    public String toString() {
        return "billtype{" +
                "id=" + id +
                ", sId='" + sId + '\'' +
                ", accessMode=" + accessMode +
                '}';
    }
}
